/* 基础样式 */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Microsoft Yahei", Arial, sans-serif;
  font-size: 14px;
  color: #333;
  background-color: #fff;
  line-height: 1.5;
}

a {
  text-decoration: none;
  color: #333;
  transition: color 0.3s ease;
}

a:hover {
  color: #045dc7;
}

ul {
  list-style: none;
}

img {
  vertical-align: middle;
}

.container {
  width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 页头样式 */
.header {
  background-color: #003c81;
  padding: 22px 0 28px;
  background: url("../images/header_bg.png") no-repeat center #003c81;
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-logo img {
  height: 93px;
}

.header-lang {
  display: flex;
  align-items: center;
  margin-left: 20px;
  background-color: #03356f;
  padding: 0 20px;
  border-radius: 5px;
}

.header-lang a {
  color: #fff;
  font-size: 14px;
  line-height: 30px;
  padding: 0 16px;
}

.lang-line {
  width: 1px;
  height: 15px;
  background-color: #fff;
  margin: 7px 0;
}

.header-search {
  display: flex;
  align-items: center;
  margin-left: 4px;
  margin-top: 30px;
}

.search-input {
  width: 203px;
  height: 31px;
  padding-left: 16px;
  border: none;
  outline: none;
  font-size: 12px;
  color: #333;
}

.search-btn {
  width: 43px;
  height: 31px;
  background: #045dc7 url("../images/search.png") center no-repeat;
  border: none;
  cursor: pointer;
}

/* 导航栏样式 */
.nav {
  height: 40px;
  background: url("../images/header_bg.png");
  position: relative;
  z-index: 999;
  padding: 0 0 20px;
}

.nav .container {
  display: flex;
}

.nav ul {
  display: flex;
  margin-left: 5px;
}

.nav li {
  float: left;
  padding: 0 15px;
  position: relative;
}

.nav li > a {
  line-height: 40px;
  color: #fff;
  font-size: 18px;
  display: block;
}

.nav li:hover {
  background-color: #fff;
}

.nav li:hover > a {
  color: #045dc7;
}

.nav-list {
  display: none;
  position: absolute;
  left: 0;
  top: 40px;
  white-space: nowrap;
  background-color: #045dc7;
}

.nav-list a {
  display: block;
  font-size: 14px;
  color: #fff;
  line-height: 40px;
  min-width: 56px;
  text-align: center;
  padding: 0 23px;
}

.nav-list a:hover {
  background-color: #003c81;
}

.nav li:hover .nav-list {
  display: block;
}

/* 轮播图样式 */
.banner {
  width: 100%;
  overflow: hidden;
}

.banner img {
  width: 100%;
  height: auto;
}

/* 核心内容区样式 */
.main {
  padding: 20px 0;
}

/* 新闻动态模块 */
.row-one {
  overflow: hidden;
  margin-bottom: 30px;
}

.section-title {
  position: relative;
  height: 87px;
  display: flex;
  align-items: center;
}

.section-title img {
  margin: -5px 10px 0 0;
}

.title-text {
  line-height: 87px;
  font-size: 24px;
  color: #042c5d;
}

.title-more {
  position: absolute;
  right: 0;
  bottom: 0;
  font-size: 14px;
  color: #999;
}

.news-list {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.news-card {
  flex: 1;
  min-width: 285px;
  position: relative;
}

.card-img {
  width: 100%;
  height: 187px;
  overflow: hidden;
  display: block;
}

.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.card-img:hover img {
  transform: scale(1.1);
}

.card-date {
  position: absolute;
  top: 0;
  left: 0;
  width: 72px;
  font-size: 14px;
  padding-bottom: 10px;
  background-color: #014089;
  color: #fff;
  text-align: center;
}

.date-day {
  display: block;
  margin-top: 6px;
  font-size: 28px;
  font-weight: bold;
}

.card-title {
  margin: 15px 0;
  height: 46px;
  overflow: hidden;
  line-height: 23px;
}

.card-title a {
  color: #333;
  font-size: 16px;
}

.card-desc {
  font-size: 14px;
  color: #666;
  line-height: 23px;
  padding-right: 20px;
}

/* 重点提示与学术讲座 */
.row-two {
  display: flex;
  gap: 30px;
}

.row-two-l {
  width: 66.666%;
}

.row-two-r {
  width: 33.333%;
}

.rtl-cont, #rtr-cont {
  margin-top: -7px;
}

.rtl-cont li {
  clear: both;
  overflow: hidden;
  padding-left: 10px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
}

.rtl-cont li span {
  color: #666;
  padding-right: 25px;
  border-right: 1px solid #c2c2c2;
  line-height: 25px;
  flex-shrink: 0;
}

.rtl-cont li a {
  padding-left: 20px;
  display: block;
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#rtr-cont li {
  clear: both;
  overflow: hidden;
  margin-bottom: 17px;
  display: flex;
  align-items: center;
}

#rtr-cont .time {
  float: left;
  line-height: 34px;
  background-color: #07acf9;
  text-align: center;
  color: #fff;
  margin-right: 13px;
  flex-shrink: 0;
}

#rtr-cont .time span {
  display: block;
  padding: 0 14px;
  background-color: #014089;
}

#rtr-cont li a {
  height: 61px;
  width: 100%;
  line-height: 27px;
  padding-top: 7px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 新闻列表页样式 */
.news-page {
  display: flex;
  gap: 30px;
}

.news-filter {
  width: 250px;
  flex-shrink: 0;
}

.news-filter h3 {
  font-size: 16px;
  color: #042c5d;
  margin-bottom: 15px;
  padding-bottom: 5px;
  border-bottom: 1px solid #ccc;
}

.news-filter ul {
  margin-bottom: 30px;
}

.news-filter li {
  margin-bottom: 10px;
}

.news-filter a {
  display: block;
  padding: 5px 0;
}

.news-filter a.active {
  color: #045dc7;
  font-weight: bold;
}

.news-content {
  flex: 1;
}

.news-list-page {
  margin-top: 20px;
}

.news-list-page li {
  padding: 15px 0;
  border-bottom: 1px dashed #ccc;
  display: flex;
  align-items: center;
}

.news-date {
  color: #666;
  margin-right: 20px;
  flex-shrink: 0;
}

.pagination {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

.pagination a {
  display: inline-block;
  padding: 5px 12px;
  margin: 0 5px;
  border: 1px solid #ccc;
  border-radius: 3px;
}

.pagination a.active {
  background-color: #045dc7;
  color: #fff;
  border-color: #045dc7;
}

/* 新闻详情页样式 */
.detail-page {
  max-width: 900px;
  margin: 0 auto;
}

.detail-title {
  font-size: 24px;
  color: #333;
  margin-bottom: 20px;
  text-align: center;
}

.detail-info {
  text-align: center;
  color: #666;
  margin-bottom: 30px;
}

.detail-info span {
  margin: 0 10px;
}

.detail-content {
  font-size: 16px;
  line-height: 1.8;
}

.detail-content p {
  margin-bottom: 20px;
}

.detail-img {
  max-width: 100%;
  height: auto;
  margin: 20px 0;
}

.detail-nav {
  margin-top: 40px;
  display: flex;
  justify-content: space-between;
}

.prev-article, .next-article {
  display: block;
  width: 48%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

/* 页脚样式 */
.footer {
  background: url("../images/header_bg.png");
  padding-top: 35px;
  overflow: hidden;
  font-size: 14px;
  margin-top: 35px;
  color: #fff;
}

.footer .container {
  display: flex;
  align-items: flex-start;
}

.footer-logo {
  margin-top: 5px;
}

.ft-info {
  margin: -7px 0 0 80px;
  flex: 1;
}

.ft-info p {
  position: relative;
  height: 29px;
  margin-bottom: 5px;
}

.ft-info span {
  position: absolute;
  left: 30px;
  white-space: nowrap;
  top: 0;
}

.ft-info img {
  position: absolute;
  left: 0;
  top: 3px;
}

.ewm {
  margin-bottom: 24px;
  margin-left: 50px;
  flex-shrink: 0;
}

.ft-bot {
  clear: both;
  text-align: center;
  line-height: 62px;
  border-top: 1px solid #3c6ba5;
  margin-top: 20px;
}